package top.aylan.org.service;

import org.springframework.stereotype.Service;
import top.aylan.org.entity.User;
import top.aylan.org.tools.Pager;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by Administrator on 2018/12/9.
 */
public interface UserService {

    public User findUserByAccount(String account) throws Exception;

    public User login(String account,String password,HttpServletRequest request) throws Exception;

    public List<User> selectUsersByPage(Pager page) throws Exception;

    public int delete(Integer id)throws Exception;
}
